package com.jhg.drgclinicalpathway.dao.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jhg.drgclinicalpathway.domain.sys.AccountInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AccountDao extends BaseMapper<AccountInfo> {

    @Select({
            "select top 1 * from sz_登录人员表 where 用户名=#{name}"
    })
    AccountInfo findByUserName(String name);
}
